<?php

namespace common\logics;

use Yii;
use common\helpers\Url;

/**
 * 系统菜单路由
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class MapFenceLogic extends \common\models\site\MapFence {

    /**
     * @var integer 分页请求大小
     */
    public $pagesize = false;
    public $limitSize = false;

    public function buildQuery() {
        $query = $this->find();
        $query->andWhere(['scope' => $this->scope]);
        return $query;
    }

}
